﻿using AutoMapper;
using MyCompany.MyProject.Model.Models;

namespace MyCompany.MyProject.WebApi.ModelDto.RoleDto;
/// <summary>
/// RoleProfile
/// </summary>
public class RoleProfile : Profile
{
    /// <summary>
    /// 构造函数
    /// </summary>
    public RoleProfile()
    {
        CreateMap<Role, RoleVo>();
        CreateMap<CreateRoleVo, Role>();
        CreateMap<UpdateRoleVo, Role>();
    }
}